package com.bigdata.movieticketapi.vo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;


@Data
public class MovieDetailRespVO {

    @ApiModelProperty("电影ID")
    private Integer id;

    @ApiModelProperty("电影名称（中文）")
    private String chineseName;

    @ApiModelProperty("电影名称（英文）")
    private String englishName;

    @ApiModelProperty("电影类型")
    private String type;

    @ApiModelProperty("评分")
    private String score;

    @ApiModelProperty("主演")
    private String actors;

    @ApiModelProperty("语言")
    private String movieLanguage;

    @ApiModelProperty("时长")
    private String duration;

    @ApiModelProperty("图片")
    private String images;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("上映时间")
    private LocalDateTime releaseTime;
}
